package com.yunti.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生对象 base_student
 * 
 * @author ruoyi
 * @date 2024-04-30
 */
public class BaseStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long id;

    /** 学校ID */
    @Excel(name = "学校ID")
    private Long schoolId;

    /** 赛中编号 */
    @Excel(name = "赛中编号")
    private String no;

    /** 头像路径 */
    @Excel(name = "头像路径")
    private String avatarSrc;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 学号 */
    @Excel(name = "学号")
    private String stuNo;

    /** 班级名 */
    @Excel(name = "班级名")
    private String className;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 出生年月 */
    @Excel(name = "出生年月")
    private String birth;

    /** 生源地 */
    @Excel(name = "生源地")
    private String birthPlace;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String cardId;

    /** 通讯地址 */
    @Excel(name = "通讯地址")
    private String mailAddress;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 一级确认 */
    @Excel(name = "一级确认")
    private Integer oneConfirm;

    /** 一级确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "一级确认时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oneConfirmTime;

    /** 二级确认 */
    @Excel(name = "二级确认")
    private Integer twoConfirm;

    /** 二级确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "二级确认时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date twoConfirmTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setAvatarSrc(String avatarSrc) 
    {
        this.avatarSrc = avatarSrc;
    }

    public String getAvatarSrc() 
    {
        return avatarSrc;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStuNo(String stuNo) 
    {
        this.stuNo = stuNo;
    }

    public String getStuNo() 
    {
        return stuNo;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }
    public void setSex(Integer sex) 
    {
        this.sex = sex;
    }

    public Integer getSex() 
    {
        return sex;
    }
    public void setBirth(String birth) 
    {
        this.birth = birth;
    }

    public String getBirth() 
    {
        return birth;
    }
    public void setBirthPlace(String birthPlace) 
    {
        this.birthPlace = birthPlace;
    }

    public String getBirthPlace() 
    {
        return birthPlace;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setMailAddress(String mailAddress) 
    {
        this.mailAddress = mailAddress;
    }

    public String getMailAddress() 
    {
        return mailAddress;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setOneConfirm(Integer oneConfirm) 
    {
        this.oneConfirm = oneConfirm;
    }

    public Integer getOneConfirm() 
    {
        return oneConfirm;
    }
    public void setOneConfirmTime(Date oneConfirmTime) 
    {
        this.oneConfirmTime = oneConfirmTime;
    }

    public Date getOneConfirmTime() 
    {
        return oneConfirmTime;
    }
    public void setTwoConfirm(Integer twoConfirm) 
    {
        this.twoConfirm = twoConfirm;
    }

    public Integer getTwoConfirm() 
    {
        return twoConfirm;
    }
    public void setTwoConfirmTime(Date twoConfirmTime) 
    {
        this.twoConfirmTime = twoConfirmTime;
    }

    public Date getTwoConfirmTime() 
    {
        return twoConfirmTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("no", getNo())
            .append("avatarSrc", getAvatarSrc())
            .append("name", getName())
            .append("stuNo", getStuNo())
            .append("className", getClassName())
            .append("nation", getNation())
            .append("sex", getSex())
            .append("birth", getBirth())
            .append("birthPlace", getBirthPlace())
            .append("cardId", getCardId())
            .append("mailAddress", getMailAddress())
            .append("mobile", getMobile())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("oneConfirm", getOneConfirm())
            .append("oneConfirmTime", getOneConfirmTime())
            .append("twoConfirm", getTwoConfirm())
            .append("twoConfirmTime", getTwoConfirmTime())
            .toString();
    }
}
